home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / WAIS / ir / seeker_dummy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-03  |  924 b   |  67 lines

  1. /*
  2.   This file contains stubs to the sig_ functions, actually implemented in 
  3.   the seeker code.
  4. */
  5.  
  6.  
  7. /* implements the build part of irext.h 
  8.    (add_word and finished_add_word)
  9.    Stub for tracy shen.
  10.  */
  11.  
  12. #include "cdialect.h"
  13. #include "irfiles.h"
  14. #include "irsearch.h"
  15. #include "irext.h"
  16. #include <string.h>
  17.  
  18.  
  19. long sig_finished_search_word(db)
  20. database *db;
  21. {
  22.   printf("Finished searching \n");
  23.   return(0);  
  24. }
  25.  
  26. long sig_finished_add_word(db)
  27. database *db;
  28. {
  29.   return(0);
  30. }
  31.  
  32. long
  33. sig_add_word(word, char_pos, line_pos, weight, doc_id, date, db)
  34. char *word;
  35. long char_pos;
  36. long line_pos;
  37. long weight;
  38. long doc_id;
  39. long  date;
  40. database *db;
  41. {
  42.   return(0);
  43. }
  44.  
  45. long sig_init_add_word(db, this_update_type, this_update_mode)
  46. void *db;
  47. long this_update_type;
  48. long this_update_mode;
  49. {
  50.   return(0);
  51. }
  52.  
  53. long sig_finished_best_hit()
  54. {
  55.   return(0);
  56. }
  57.  
  58. long sig_search_word()
  59. {
  60.   return(0);
  61. }
  62.  
  63. long sig_best_hit()
  64. {
  65.   return(0);
  66. }
  67.